class EnterpriseInfo {
  String jxindext;
  String msg;
  String amyfriend;
  String newCard;
  String needContinueCard;
  List<Highlevers> highlevers;
  String code;
  String success;

  EnterpriseInfo(
      {this.jxindext,
        this.msg,
        this.amyfriend,
        this.newCard,
        this.needContinueCard,
        this.highlevers,
        this.code,
        this.success});

  EnterpriseInfo.fromJson(Map<String, dynamic> json) {
    jxindext = json['jxindext'];
    msg = json['msg'];
    amyfriend = json['amyfriend'];
    newCard = json['newCard'];
    needContinueCard = json['needContinueCard'];
    if (json['highlevers'] != null) {
      highlevers = new List<Highlevers>();
      json['highlevers'].forEach((v) {
        highlevers.add(new Highlevers.fromJson(v));
      });
    }
    code = json['code'];
    success = json['success'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['jxindext'] = this.jxindext;
    data['msg'] = this.msg;
    data['amyfriend'] = this.amyfriend;
    data['newCard'] = this.newCard;
    data['needContinueCard'] = this.needContinueCard;
    if (this.highlevers != null) {
      data['highlevers'] = this.highlevers.map((v) => v.toJson()).toList();
    }
    data['code'] = this.code;
    data['success'] = this.success;
    return data;
  }
}

class Highlevers {
  String name;
  String index;
  String headImae;
  String number;

  Highlevers({this.name, this.index, this.headImae, this.number});

  Highlevers.fromJson(Map<String, dynamic> json) {
    name = json['name'];
    index = json['index'];
    headImae = json['headImae'];
    number = json['number'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this.name;
    data['index'] = this.index;
    data['headImae'] = this.headImae;
    data['number'] = this.number;
    return data;
  }
}